package com.otod.repository;

import com.otod.entity.Min;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

public interface MinDao extends PagingAndSortingRepository<Min, Long> {

    public Min findByCodeAndTradeTime(String code, String tradeTime);

    public List<Min> findByCode(String code);
}
